package com.SwaggerTest.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * 此处需要注意参数的名字开头不能大写 如果是大写GG
 *
 */
@ApiModel(value = "Parent对象说明")
@Data
@Component
public class Parent {
    @ApiModelProperty(value = "姓名", required = true, example = "小明的爸爸")
    private String name;
    @ApiModelProperty(value = "年龄", required = true, example = "98")
    private String age;
    @ApiModelProperty(value = "地址", required = true, example = "地球村第888号")
    private String adress;
    @ApiModelProperty(value = "邮件", required = true, example = "379753498@qq.com")
    private String email;


}
